package shoppingmall.reception.dto;

import shoppingmall.reception.dto.ProductVO;

import java.util.List;

/**
 * 商品分类信息-包含当前分类下的商品信息，用于传送给前端
 */
public class ProductClassificationIncludeProductInfoVO {
    private int categoryId;  //商品分类id
    private String categoryName;  //商品分类名称
    private List<ProductVO> productList;  //当前分类下的商品列表信息(包含的规格信息,商品分类名称)
    private String createTime;  //商品分类创建时间
    private String updateTime;  //商品分类更新时间

    public ProductClassificationIncludeProductInfoVO() {
    }

    public ProductClassificationIncludeProductInfoVO(int categoryId, String categoryName, List<ProductVO> productList, String createTime, String updateTime) {
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.productList = productList;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public List<ProductVO> getProductList() {
        return productList;
    }

    public void setProductList(List<ProductVO> productList) {
        this.productList = productList;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
